import myaxios from "../MyAxios";

import URLENV from "@/http/BaseUrl";
const BMDURL = URLENV.BMDURL;

const indexApi = {
  // 统计数据
  queryAnimal() {
    let url = BMDURL + "htindex/animal";
    return myaxios.get(url);
  },
  queryScenery() {
    let url = BMDURL + "htindex/scenery";
    return myaxios.get(url);
  },
  queryStory() {
    let url = BMDURL + "htindex/story";
    return myaxios.get(url);
  },

  // 统计用户数据
  queryUser() {
    let url = BMDURL + "htindex/user";
    return myaxios.get(url);
  },
  // 统计申请表数据
  queryApply() {
    let url = BMDURL + "htindex/apply";
    return myaxios.get(url);
  },

  // 统计答题数据
  queryApplication() {
    let url = BMDURL + "htindex/application";
    return myaxios.get(url);
  },

  // 统计路线数据
  queryRoute() {
    let url = BMDURL + "htindex/route";
    return myaxios.get(url);
  },
};

export default indexApi;
